<%@ page contentType="text/html; charset=UTF-8" language="java" import="com.util.*,java.util.*" errorPage="/error.jsp" %>
<%@ page import="com.beans.log.*" %>
<%@ page import="com.business.log.*" %>
<%@ page import="com.beans.link.*" %>
<%@ page import="com.business.link.*" %>
<%@ page import="com.beans.user.*" %>
<%@ page import="com.business.user.*" %>
<%  UserListBus uis=new UserListBus();
	LogListBus llb=new LogListBus();
	LogReplyBus lrb=new LogReplyBus();
	LogTypeBus ltb=new LogTypeBus();
	List logList;
	String logNo=request.getPathInfo();
    logNo=logNo.replace(".html","");
    logNo=logNo.replace("/","");
	if(session.getAttribute("login_user")==null) {
response.sendRedirect("login.jsp");
}	
	
	String title="收藏日志";
%>
<%@ include file="/header.jsp"%>
<body>
<div id=container>
<form id="form1" name="form1" method="post" action="addfavor"> 
  <p>您收藏的日志：</p>
  <p>日志标题为：
    <label>
    <input name="logno" type="text" disabled="disabled" id="logno" value="<%=((LogInfo)llb.getLogByNo(logNo)).getLogTitle()%>" size="30"/>
	<input name="logno" type="hidden" id="logno" value="<%=logNo==null?"":logNo %>"/>
    </label>
  </p>
  <p>收藏名：
    <label>
      <input name="favorname" type="text" id="favorname"  />
      </label>
  </p>
  <p>介绍：&nbsp;&nbsp;</p>
  <p>
    <label>
      <textarea name="favorinfo" cols="40" rows="4" id="favinfo"></textarea>
      </label>
  </p>
  <p>
    <input name="username" type="hidden" id="username" value="<%=session.getAttribute("login_user")==null?"":session.getAttribute("login_user")%>"/>
	<input name="action" type="hidden" value="add"/>
  </p>
   <p>
   <label>
		<br />
 &nbsp; <input type="image" src="images/submit.gif" />
      </label>

    <label>
   		&nbsp;&nbsp;<a href="javascript:history.back()">返回</a>
    </label>
  </p>
</form>
<%@ include file="/footer.jsp" %>
</body>
</html>